package com.wyh.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author wyh
 * @since 2025-04-13
 */
@Data
@Schema(name = "UserLoginDto", description = "用户登录信息")
public class UserLoginDto {
    @Schema(description = "邮箱/手机号", example = "2794177237@qq.com", requiredMode = Schema.RequiredMode.REQUIRED)
    private String account;

    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String password;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
